package com.jjh.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jjh.annation.CreateTime;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 订单实体类
 */
@Data
public class Order implements Serializable {
    private Integer id;

    private Long orderId;

    private String status;

    private String name;

    private String phone;

    private String address;

    private Double price;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @CreateTime
    private LocalDateTime createTime;


    private Integer userId;


}